{loop $data $n $r}
<li class="hastime">
	<span class="time">{date('Y-m-d', $r['inputtime'])}</span>
	<a href="{$r[url]}" title="{$r[title]}">{str_cut($r[title], 40, '')}</a>
</li>
{/loop}